package com.geek.admin.common.function;

import com.geek.admin.common.exception.RedisConnectException;

/**
 * @author gaozeyu
 */
@FunctionalInterface
public interface JedisExecutor<T, R> {
    /**
     * 抽象方法
     * @param t T
     * @return R
     * @throws RedisConnectException redis连接异常
     */
    R excute(T t) throws RedisConnectException;
}
